cmake_minimum_required(VERSION 3.27)

GetProTargetName(ProName)

list(
    APPEND 
    ${PROJECT_NAME}_HeaderFile
    ${CMAKE_CURRENT_SOURCE_DIR}/lepf.h
)

list(
    APPEND
    ${PROJECT_NAME}_SourceFile
    ${CMAKE_CURRENT_SOURCE_DIR}/lepf.cpp
)

target_sources(${ProName}
    PRIVATE ${${PROJECT_NAME}_SourceFile}
    PRIVATE ${${PROJECT_NAME}_HeaderFile}
)
# 基础代码&外部引入库
add_subdirectory(baseline)
# UI控件库
add_subdirectory(controls)
